package com.woniuxy.service;

import com.woniuxy.entity.RbacPerm;
import com.woniuxy.entity.ResponseEntity;

import java.util.Set;


public interface RbacPermService {

    Set<String> findPermBySetRoles(String username);

    ResponseEntity findAll(int currentPage, int pageSize);

    ResponseEntity search(int currentPage, int pageSize, String name, String code);

    ResponseEntity addOne(RbacPerm rbacPerm);

    ResponseEntity deleteOne(int id);

    ResponseEntity updateOne(RbacPerm rbacPerm);

    ResponseEntity editType(int id);
}
